//
//  LookViewController.m
//  UI_项目 测试1
//
//  Created by dlios on 15-1-17.
//  Copyright (c) 2015年 songCheng. All rights reserved.
//

#import "LookViewController.h"
#import "MyViewController.h"
@interface LookViewController ()

@end

@implementation LookViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor yellowColor];
    
     self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"iconfont-fanhui.png"] style:(UIBarButtonItemStylePlain) target:self action:@selector(Action1:)];
    // Do any additional setup after loading the view.
}
- (void)Action1:(UIBarButtonItem *)button
{
    MyViewController *myVC = [[MyViewController alloc] init];
    
    [myVC setModalTransitionStyle:(UIModalTransitionStyleCoverVertical)];
    
//    [self presentViewController:myVC animated:YES completion:^{
//        
//    }];
    [self dismissViewControllerAnimated:YES completion:^{
        
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
